#!/bin/bash
 for i in {200..220}
 do
 ping -c 4  -i 0.2  -W 1  192.168.1.$i &>/dev/null
 if  [  $? -ne 0 ];then
 echo  "192.168.1.$i is down"
 fi
 done